package com.xiaoxian.org.mapper;

import com.xiaoxian.basic.domain.vo.ShopStatisticsVo;
import com.xiaoxian.org.domain.Shop;
import com.xiaoxian.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaoxian
 * @since 2022-12-17
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     * 通过名字查询店铺
     * @param name
     * @return
     */
    Shop findByName(String name);

    List<ShopStatisticsVo> findState();

    List<Shop> findShopByState();
}


